package com.cc.service;

import com.cc.entity.Cart;
import com.cc.entity.ChildrenCategory;
import com.cc.entity.ParentCategory;
import com.cc.entity.Produce;

import java.util.List;

/**
 * @program:
 * @ClassName:
 * @description:
 * @author: zgc
 * @date:
 * @Version 1.0
 **/
public interface CommodityService {
    List<Cart> selectCart(Integer userId);

    Produce selectProduce(Integer productId);

    List<ParentCategory> selectParentCategory(ParentCategory parentCategory);

    List<ChildrenCategory> selectChildrenCategory(ChildrenCategory childrenCategory);
    
    Integer insertChildrenCategory(ChildrenCategory childrenCategory);
}
